package com.hhit.bigscreenbackmanage.dao.video;

import com.alibaba.fastjson.JSONObject;
import com.hhit.bigscreenbackmanage.entity.aqgl.TAqglDrrygkTemp;
import com.hhit.bigscreenbackmanage.entity.video.VideoEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 视频监控
 */
@Repository
public interface VideoMapper {

    //查询视频集
    List<VideoEntity> getVideoList(Map map);

    Integer getVideoCount(Map map);

    int saveVideo(VideoEntity videoEntity) throws Exception;

    int editVideo(VideoEntity videoEntity) throws Exception;

    int removeVideo(@Param("ids") List<String> ids) throws Exception;

    void updateStatus(@Param("id") Integer id, @Param("status") String status);
}
